package HomeWork;

/**
 * @author 李孟琦
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: HomeWork
 * @ClassName: TestGame
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/9/29 17:19
 * @Copyright 李孟琦版板所有
 */
public class TestGame {
    public static void main(String[] args) {
        Hero newHero = new Hero();
        Monster newMonster = new Monster();
        Weapon newWeapon = new Weapon();
        newHero.name = "李小侠";
        newHero.healthPoint = 800;

        newMonster.name = "小龟";
        newMonster.healthPoint = 300;
        newMonster.type = "潜水型";

        newWeapon.name = "死神镰刀";
        newWeapon.attack = 100;
        newHero.show();
        System.out.println("--------------------------------------");
        newMonster.show();
        System.out.println("--------------------------------------");
        newWeapon.show();
    }
}
